import request from '@/utils/request'

// 查询面试掌握情况记录列表
export function listInterview_mastery(query) {
  return request({
    url: '/teaching/interview_mastery/list',
    method: 'get',
    params: query
  })
}

// 查询面试掌握情况记录详细
export function getInterview_mastery(id) {
  return request({
    url: '/teaching/interview_mastery/' + id,
    method: 'get'
  })
}

// 新增面试掌握情况记录
export function addInterview_mastery(data) {
  return request({
    url: '/teaching/interview_mastery',
    method: 'post',
    data: data
  })
}

// 修改面试掌握情况记录
export function updateInterview_mastery(data) {
  return request({
    url: '/teaching/interview_mastery',
    method: 'put',
    data: data
  })
}

// 删除面试掌握情况记录
export function delInterview_mastery(id) {
  return request({
    url: '/teaching/interview_mastery/' + id,
    method: 'delete'
  })
}
